Send Get request

Request:

"|3|1|url|\r"

Parameters:

url Set Get request url link

Returns:

"|3|code|data|\r"

Parameters:

code The returned success or error code by http request

success: code = 200

failed to get data: code = -1

http request string is wrong: code = 1

data The returned data by http request

Arduino Sample:

softSerial.print("|3|1|http://192.168.9.122:8080/input?id=1&val=22|\r");

results matching ""

    No results matching ""